Towards Certifying Deadlock-freedom of BIP Models
نویسندگان
چکیده
Verification and validation techniques have become popular in software and hardware development. They increase the confidence and potentially provide rich feedback on errors. However, with increasing complexity verification and validation techniques are more likely to contain errors themselves. In this paper we address the problem of guaranteeing the correctness of validation work with respect to a formal notion of correctness: We certify the absence of deadlocks in systems. Our certification is based upon an existing tool checking deadlock-freedom of BIP (behavior, interaction, priority) [BBS06] models: D-Finder [BBNS08]. BIP is a language for modelling real-time systems. Certificates are generated each time a BIP model is successfully checked for deadlock absence. They contain a proof script – an algorithm – that describes how to ensure oneself that a BIP model is indeed deadlock-free. Furthermore, they comprise system invariants of the checked BIP models implying deadlock-freedom that are used by the proof script. With the help of such a certificate third party users can ensure themselves of deadlock-freedom of their BIP models without having to trust or even take a look at the deadlock checking tool. In particular our certification methodology comprises the formalization of the notion of deadlock-freedom in the higher-order theorem prover Coq. The use of a higher-order theorem prover allows us to formalize this notion in a human readable way. The formalization of the BIP semantics, models, and their invariants in Coq, and an algorithm that checks whether the notion of deadlock-freedom indeed holds for a given BIP model are part of the methodology, too. The algorithm is instantiated to form more concrete proof scripts that are distributed as parts of our certificates. Apart from presenting the methodology we discuss first experimental results.
منابع مشابه
On Certificate Generation and Checking for Deadlock-freedom of BIP Models
The BIP framework provides a methodology supported by a tool chain for developing software for embedded systems. The design of a BIP system follows the decomposition in behavior, interaction and priority. The first step comprises the division of desired behavior of a system into components. In a second step interactions and their priorities are added between the components. Finally, machine cod...
متن کاملAn Abstract Framework for Deadlock Prevention in BIP
We present a sound but incomplete criterion for checking deadlock freedom of finite state systems expressed in BIP: a componentbased framework for the construction of complex distributed systems. Since deciding deadlock-freedom for finite-state concurrent systems is PSPACE-complete, our criterion gives up completeness in return for tractability of evaluation. Our criterion can be evaluated by m...
متن کاملArchitecture-Based Design: A Satellite On-Board Software Case Study
In this case study, we apply the architecture-based design approach to the control software of the CubETH satellite. Architectures are a means for ensuring global coordination properties and thus, achieving correctness of complex systems by construction. The design approach comprises three main steps: 1) definition of a domain-specific taxonomy of architecture styles; 2) design of the software ...
متن کاملBIP: Language and Tools for Component-based Construction
A central idea in systems engineering is that complex systems are built by assembling components. System designers deal with a large variety of components, each having different characteristics, from a large variety of viewpoints, each highlighting different dimensions of a system. A central problem is the meaningful composition of heterogeneous components to ensure their correct interoperation...
متن کاملModeling of Reconfigurable Medical Ultrasonic Applications in BIP
Medical ultrasonic imaging applications require high quality of images produced in real-time often with limited resources available. Deadlock-freedom and confluency must be guaranteed to ensure the correctness of the applications, while feasibility and optimality properties are required to provide the best Quality of Service (QoS) within available resources. In this paper we introduce BIP (Beha...
متن کامل